﻿// 项目：	Guan.CMS.Model - Guan.CMS
// 文件名：	Product.cs
// 
// 修改时间：2013-03-09 22:54
// 修改人：	Cooclsee

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Guan.CMS.Model.Entities
{
    public class Product : CommonPublishedModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string ImageUrl { get; set; }
        public string ShortDescription { get; set; }
        public string FullDescription { get; set; }
        public bool IsRecommend { get; set; }
        public DateTime? CreatedTime { get; set; }
        public DateTime? UpdatedTime { get; set; }
        public int? CategoryId { get; set; }
        public string MetaKeywords { get; set; }
        public string MetaDescription { get; set; }
        public string MetaTitle { get; set; }
        public string FriendlyName { get; set; }

        #region ForeignKey

        public virtual ProductCategory Category { get; set; }
        public virtual ICollection<Supplier> Suppliers { get; set; }

        #endregion
    }
}